/* Copyright (c) 2024, the Dart project authors.  Please see the AUTHORS file
   for details. All rights reserved. Use of this source code is governed by a
   BSD-style license that can be found in the LICENSE file. */

.report-main {
  max-width: 800px;
  margin: 0px auto;

  .mdc-text-field {
    width: 100%;
    margin-bottom: 12px;
  }
}

.foldable-section {
  border-top: 1px solid #eee;
  margin: 12px 0px;

  >.foldable-button {
    font-size: 18px;
    font-weight: 500;
    padding: 8px 0px;

    &:hover {
      background: var(--pub-neutral-hover-bgColor);
    }
  }

  .foldable-icon {
    margin: 0px 8px 3px 8px;
    width: 12px;

    transform: rotate(90deg);
    transition: transform .3s linear;
  }

  &.-active {
    .foldable-icon {
      transform: rotate(180deg);
    }
  }

  >.foldable-content {
    margin-left: 28px; // foldable icon's margins + width
  }
}
